Next | Prev | Up | Top | Contents | Index

Checking XFS Filesystem Consistency With xfs_check

The filesystem consistency checking command for XFS filesystems is xfs_check. (fsck is used only for EFS filesystems.) Unlike fsck, xfs_check is not invoked automatically on system startup; xfs_check should be used only if you suspect a filesystem consistency problem. Before running xfs_check, the filesystem to be checked should be unmounted.

The command line for xfs_check is:

# xfs_check device
device is the device file for a disk partition or logical volume that contains an XFS filesystem, for example /dev/dsk/xlv/xlv0.

Unlike fsck, xfs_check does not repair any reported filesystem consistency problems; it only reports them. If xfs_check reports a filesystem consistency problem:



Next | Prev | Up | Top | Contents | Index